﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Log4View.BusinessModel
{
    public static class PredefinedLogTypes
    {
        #region ILogType implementation
        
        class LogType : ILogType
        {
            private readonly string _name;

            public LogType(string name)
            {
                _name = name;
            }

            public string Name
            {
                get { return _name; }
            }
        }

        #endregion

        public static readonly ILogType ERROR = new LogType("Error");
        public static readonly ILogType WARNING = new LogType("Warning");
        public static readonly ILogType INFO = new LogType("Info");
        public static readonly ILogType MESSAGE = new LogType("Message");
    }
}
